package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 站对象 tb_service_station
 * 
 * @author admin
 * @date 2022-05-06
 */
public class TbServiceStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 油站ID主键 */
    private Integer stationId;

    /** 油站全名称 */
    @Excel(name = "油站全名称")
    private String stationName;

    /** 油站简称 */
    @Excel(name = "油站简称")
    private String stationShortName;

    /** 油站地址 */
    @Excel(name = "油站地址")
    private String stationAddress;

    /** 油站联系电话 */
    @Excel(name = "油站联系电话")
    private String stationPhone;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 油站介绍说明 */
    @Excel(name = "油站介绍说明")
    private String stationIntroduce;

    /** 图片  多张图的话英文半角逗号隔开 */
    @Excel(name = "图片  多张图的话英文半角逗号隔开")
    private String stationImage;

    /** 油站所属地区编号（tb_system_area.area_id） */
    @Excel(name = "油站所属地区编号", readConverterExp = "t=b_system_area.area_id")
    private Integer areaId;

    /** 油站类型（预留后续扩展使用） */
    @Excel(name = "油站类型", readConverterExp = "预=留后续扩展使用")
    private Integer stationType;

    /** 油站级别（预留后续扩展使用） */
    @Excel(name = "油站级别", readConverterExp = "预=留后续扩展使用")
    private Integer stationLevel;

    /** 状态（0:正常; -1：禁用; -2:删除;1-待开通） */
    @Excel(name = "状态", readConverterExp = "0=:正常;,-=1：禁用;,-=2:删除;1-待开通")
    private Integer status;

    /** 服务开始时间(如: 08:00) */
    @Excel(name = "服务开始时间(如: 08:00)")
    private String serviceStartTime;

    /** 服务结束时间(如:20:00) */
    @Excel(name = "服务结束时间(如:20:00)")
    private String serviceEndTime;

    /** 油站联系人 */
    @Excel(name = "油站联系人")
    private String contactPerson;

    /** 油站联系人电话 */
    @Excel(name = "油站联系人电话")
    private String contactPersonMobile;

    /** 油站标签 （如：可洗车，可购物等） */
    @Excel(name = "油站标签 ", readConverterExp = "如=：可洗车，可购物等")
    private String stationTag;

    /** 邀请码(销售人员邀请码) */
    @Excel(name = "邀请码(销售人员邀请码)")
    private String invitationCode;

    /** 累计成功交易笔数（订单成功后加油完成需要update该字段） */
    @Excel(name = "累计成功交易笔数", readConverterExp = "订=单成功后加油完成需要update该字段")
    private Integer tradeNum;

    /** 修改人 */
    @Excel(name = "修改人")
    private Integer modifyBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 累计成功交易总金额 单位：分 加油完成后更新该值 */
    @Excel(name = "累计成功交易总金额 单位：分 加油完成后更新该值")
    private Integer tradeAmount;

    /** 10-壳牌;11-美孚;12-嘉实;13-中石油;14-中石化 */
    @Excel(name = "10-壳牌;11-美孚;12-嘉实;13-中石油;14-中石化")
    private Integer brand;

    /** 油站所属地区,配合station_address形成完整地址 */
    @Excel(name = "油站所属地区,配合station_address形成完整地址")
    private String stationArea;

    public void setStationId(Integer stationId) 
    {
        this.stationId = stationId;
    }

    public Integer getStationId() 
    {
        return stationId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setStationShortName(String stationShortName) 
    {
        this.stationShortName = stationShortName;
    }

    public String getStationShortName() 
    {
        return stationShortName;
    }
    public void setStationAddress(String stationAddress) 
    {
        this.stationAddress = stationAddress;
    }

    public String getStationAddress() 
    {
        return stationAddress;
    }
    public void setStationPhone(String stationPhone) 
    {
        this.stationPhone = stationPhone;
    }

    public String getStationPhone() 
    {
        return stationPhone;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setStationIntroduce(String stationIntroduce) 
    {
        this.stationIntroduce = stationIntroduce;
    }

    public String getStationIntroduce() 
    {
        return stationIntroduce;
    }
    public void setStationImage(String stationImage) 
    {
        this.stationImage = stationImage;
    }

    public String getStationImage() 
    {
        return stationImage;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setStationType(Integer stationType) 
    {
        this.stationType = stationType;
    }

    public Integer getStationType() 
    {
        return stationType;
    }
    public void setStationLevel(Integer stationLevel) 
    {
        this.stationLevel = stationLevel;
    }

    public Integer getStationLevel() 
    {
        return stationLevel;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setServiceStartTime(String serviceStartTime) 
    {
        this.serviceStartTime = serviceStartTime;
    }

    public String getServiceStartTime() 
    {
        return serviceStartTime;
    }
    public void setServiceEndTime(String serviceEndTime) 
    {
        this.serviceEndTime = serviceEndTime;
    }

    public String getServiceEndTime() 
    {
        return serviceEndTime;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactPersonMobile(String contactPersonMobile) 
    {
        this.contactPersonMobile = contactPersonMobile;
    }

    public String getContactPersonMobile() 
    {
        return contactPersonMobile;
    }
    public void setStationTag(String stationTag) 
    {
        this.stationTag = stationTag;
    }

    public String getStationTag() 
    {
        return stationTag;
    }
    public void setInvitationCode(String invitationCode) 
    {
        this.invitationCode = invitationCode;
    }

    public String getInvitationCode() 
    {
        return invitationCode;
    }
    public void setTradeNum(Integer tradeNum) 
    {
        this.tradeNum = tradeNum;
    }

    public Integer getTradeNum() 
    {
        return tradeNum;
    }
    public void setModifyBy(Integer modifyBy) 
    {
        this.modifyBy = modifyBy;
    }

    public Integer getModifyBy() 
    {
        return modifyBy;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setTradeAmount(Integer tradeAmount) 
    {
        this.tradeAmount = tradeAmount;
    }

    public Integer getTradeAmount() 
    {
        return tradeAmount;
    }
    public void setBrand(Integer brand) 
    {
        this.brand = brand;
    }

    public Integer getBrand() 
    {
        return brand;
    }
    public void setStationArea(String stationArea) 
    {
        this.stationArea = stationArea;
    }

    public String getStationArea() 
    {
        return stationArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("stationId", getStationId())
            .append("stationName", getStationName())
            .append("stationShortName", getStationShortName())
            .append("stationAddress", getStationAddress())
            .append("stationPhone", getStationPhone())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("stationIntroduce", getStationIntroduce())
            .append("stationImage", getStationImage())
            .append("areaId", getAreaId())
            .append("stationType", getStationType())
            .append("stationLevel", getStationLevel())
            .append("status", getStatus())
            .append("serviceStartTime", getServiceStartTime())
            .append("serviceEndTime", getServiceEndTime())
            .append("contactPerson", getContactPerson())
            .append("contactPersonMobile", getContactPersonMobile())
            .append("remark", getRemark())
            .append("stationTag", getStationTag())
            .append("invitationCode", getInvitationCode())
            .append("tradeNum", getTradeNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("modifyBy", getModifyBy())
            .append("modifyTime", getModifyTime())
            .append("tradeAmount", getTradeAmount())
            .append("brand", getBrand())
            .append("stationArea", getStationArea())
            .toString();
    }
}
